package org.example;

// Press Shift twice to open the Search Everywhere dialog and type `show whitespaces`,
// then press Enter. You can now see whitespace characters in your code.
public class Main {
    int x;
    public Main(int y) {
        // Press Alt+Enter with your caret at the highlighted text to see how
        // IntelliJ IDEA suggests fixing it.
        System.out.println("构造Main函数");
        x = y;


    }
    public static void main(String[] args){
        Main myobj = new Main(5);
        System.out.println(myobj.x);
    }
}


/***
 *
 *C:\Users\12481\.jdks\openjdk-21\bin\java.exe "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2023.2.2\lib\idea_rt.jar=22572:C:\Program Files\JetBrains\IntelliJ IDEA 2023.2.2\bin" -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8 -Dsun.stderr.encoding=UTF-8 -classpath C:\Users\12481\Desktop\L03_JAVA_CLASS\function\target\classes org.example.Main
 * 构造Main函数
 * 5
 *
 * Process finished with exit code 0
 *
 */